package com.study.spring.proxy.client;

import com.study.spring.proxy.bo.Response;
import com.study.spring.proxy.bo.TicketBo;
import com.study.spring.proxy.core.SaosHttpClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@SaosHttpClient
public interface OpportunityClient {

    @RequestMapping(value = "https://saos-rb-plus-api.dev.k8s.chehejia.com/saos-rb-plus-api/mini/api/ticket/v0-1/get-open-ticket/{customerAccountId}",method = RequestMethod.GET)
    Response<TicketBo> getCustomerTicket(@PathVariable("customerAccountId") String customerAccountId);

}
